package com.library.repository;/*
 *@author lzg
 *@data 2020/11/17
 */

import com.library.entity.Admin;
import com.library.entity.BorrowRecode;

import java.util.List;

public interface AdminRepository {
    Admin login(String username, String password);
    List<BorrowRecode> findAllApproval(Integer pageIndex, Integer limitNu);
    int getBooks();
    void UpdateBorrowApproval(Integer bookId, Integer sate);
}
